﻿using MediatR;
using System;

namespace ShineTech.Web.Users.Commands
{
    public class CreateUserCommand : IRequest<UserDTO>
    {
        public string Name { get; set; }
        public string Password { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }

        public CreateUserCommand(string name,  string email,string password, string phone)
        {
            Password = password;
            Name = name;
            Phone = phone;
            Email = email;
        }
    }

}
